#include "widget.h"
#include "ui_widget.h"

Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);

    //初始化下拉框
    ui->comboBox->addItems({"米饭", "面条", "馒头"});
    ui->comboBox_2->addItems({"豆角", "土豆", "地三鲜", "东坡肉"});
}

Widget::~Widget()
{
    delete ui;
}

